<form action="index.php" method="post" Name="f_changepass">
<table width="100%" id="login" align="center" border="0">
	<col width="65%"><col width="35%">	
	<tr>
		<td class="left" valign="top">
				<ul>
                    <li class="title_bg_2">Hướng dẫn thay đổi mật khẩu</li>
                    <li class="title_bg_3"></li>
				</ul>
                <?php                    			
				
                 include 'huongdandoimatkhau.html';
                 //$dvctt = file_get_contents('../../../../../public/templates/other/dichvucongtt.html');
                    //echo $dvctt;
                ?>
		</td>        
		<td class="right" valign="top">
				<ul>
                    <li class="title_bg_2">Thay &#273;&#7893;i m&#7853;t kh&#7849;u</li>
                    <li class="title_bg_3"></li>
				</ul>
			<table width="100%" class="login_form" cellpadding="0" cellspacing="0">
					<col width="40%"><col width="60%">
					<tr>
					<td class="normal_label">Mật khẩu<small class="small_starmark">*</small></td>
					<td><input Name="txt_password" Type="password" value="" class="normal_textbox" message = "Chua nhap mat khau" ></td>
				</tr>
				<tr>
					<td class="normal_label">M&#7853;t kh&#7849;u m&#7899;i<small class="small_starmark">*</small></td>
					<td><input Name="txt_repassword" Type="password" class="normal_textbox" message = "Chua nhap mat khau moi" ></td>
				</tr>
				<tr>
					<td class="normal_label">Nhắc lại mật khẩu<small class="small_starmark">*</small></td>
					<td><input Name="txt_newpassword" Type="password" class="normal_textbox" message = "Chua nhac lai mat khau" ></td>
				</tr>
				<tr>
				<td></td>
					<td align="left" width="100%" valign="bottom">
					<input Type="button" Name="btn_register" class="add_large_button1" value="Thay &#273;&#7893;i" style="width:43%" onClick= "btn_changepass();" >
					</td>
				</tr>				
			</table>
		</td>
	</tr>			
</table>
</form>
<script language="JavaScript"><!--
function btn_changepass(){
	
	//_save_xml_tag_and_value_list(document.forms["f_register"],document.forms["f_register"].hdn_list_xml_tag,document.forms["f_register"].hdn_list_xml_value,false);		
	var v_oldpass = document.f_changepass.txt_password.value;
	var v_newpass = document.f_changepass.txt_repassword.value;	
	var v_repass = document.f_changepass.txt_newpassword.value;
	if(v_oldpass==""){
		alert("Chưa nhập mật khẩu");	
		document.f_changepass.txt_password.focus();
		return false;
	}
	if(v_newpass==""){
		alert("Chưa nhập mật khẩu mới");	
		document.f_changepass.txt_repassword.focus();
		return false;
	}	
	if(v_repass==""){
		alert("Chưa nhắc lại mật khẩu");	
		document.f_changepass.txt_newpassword.focus();
		return false;
	}	
	if (v_newpass!=v_repass){
		alert("Mật khẩu nhắc lại chưa đúng!");			
		document.forms["f_changepass"].txt_repassword.value="";
		document.forms["f_changepass"].txt_repassword.focus(); return;
	}
	
	actionUrl('/efy-ecs-hminhhoa/record/user/changepass?hdn_oldpass='+v_oldpass+'&hdn_newpass='+v_newpass);
}

--></script>